﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AgileDashboard.Data;
using AgileDashboard.Entities;

namespace AgileDashboard.Services
{
    public class WorkItemSyncService
    {
        //System.Threading.Tasks.Task<string> task = System.Threading.Tasks.Task.Factory.StartNew(





        //public void SyncWorkItems()
        //{


        //    PlanningPokerContext db = new PlanningPokerContext();

        //    Guid guid = new Guid("c5326f9e-39b3-4d37-ae67-0d7076a967a8");

        //    WorkItemService workItemService = new WorkItemService();

        //    List<WorkItem> workItems = workItemService.GetWorkItems(guid, 499, false);

        //    foreach (WorkItem wi in workItems)
        //        db.WorkItems.Add(wi);


        //    db.SaveChanges();



        //}

    }
}
